import request from '@/utils/request'
//获取销售部树级人员
export function saleUserList(data) {
  return request({
    url:'/analysis/saleUserList',
    method:'post',
    data:data
  })
}

//销售订单执行情况汇总
export function saleOrderExeAnalysis(data) {
  return request({
    url:'/analysis/saleOrderExeAnalysis',
    method:'post',
    data:data
  })
}

//各业务员订单执行分析列表
export function saleOrderExeAnalysisList(data) {
  return request({
    url:'/analysis/saleOrderExeAnalysisList',
    method:'post',
    data:data
  })
}

//产品分类数据
export function goodsCategoryList(data) {
  return request({
    url:'/analysis/goodsCategoryList',
    method:'post',
    data:data
  })
}

//销售情况统计
export function saleOrderSummary(data) {
  return request({
    url:'/analysis/saleOrderSummary',
    method:'post',
    data:data
  })
}

//销售目标完成情况汇总
export function saleTargetSummary(data) {
  return request({
    url:'/analysis/saleTargetSummary',
    method:'post',
    data:data
  })
}

//人员销量目标完成情况分析
export function userOrderNumAnalysis(data) {
  return request({
    url:'/analysis/userOrderNumAnalysis',
    method:'post',
    data:data
  })
}

//人员出库毛利情况分析
export function userProfitAnalysis(data) {
  return request({
    url:'/analysis/userProfitAnalysis',
    method:'post',
    data:data
  })
}


//人员出库吨毛利情况分析
export function userPerProfitAnalysis(data) {
  return request({
    url:'/analysis/userPerProfitAnalysis',
    method:'post',
    data:data
  })
}

//品类销量目标完成情况分析
export function classOrderNumAnalysis(data) {
  return request({
    url:'/analysis/classOrderNumAnalysis',
    method:'post',
    data:data
  })
}
//品类出库毛利情况分析
export function classProfitAnalysis(data) {
  return request({
    url:'/analysis/classProfitAnalysis',
    method:'post',
    data:data
  })
}
//品类出库吨毛利情况分析
export function classPerProfitAnalysis(data) {
  return request({
    url:'/analysis/classPerProfitAnalysis',
    method:'post',
    data:data
  })
}

//客户销售情况排名
export function topCustomerList(data) {
  return request({
    url:'/analysis/topCustomerList',
    method:'post',
    data:data
  })
}

//成交客户新老分类销售情况
export function dealCustomerSummary(data) {
  return request({
    url:'/analysis/dealCustomerSummary',
    method:'post',
    data:data
  })
}

//成交客户人员客户销量情况
export function dealCustomerSaleNumAnalysis(data) {
  return request({
    url:'/analysis/dealCustomerSaleNumAnalysis',
    method:'post',
    data:data
  })
}

//成交客户人员客户销量情况
export function dealCustomerShipProfitAnalysis(data) {
  return request({
    url:'/analysis/dealCustomerShipProfitAnalysis',
    method:'post',
    data:data
  })
}

//成交客户人员客户销量情况
export function repeatCustomerSummary(data) {
  return request({
    url:'/analysis/repeatCustomerSummary',
    method:'post',
    data:data
  })
}

//客户复购销量情况汇总
export function repeatCustomerSaleNumAnalysis(data) {
  return request({
    url:'/analysis/repeatCustomerSaleNumAnalysis',
    method:'post',
    data:data
  })
}

//客户复购毛利情况汇总
export function repeatCustomerShipProfitAnalysis(data) {
  return request({
    url:'/analysis/repeatCustomerShipProfitAnalysis',
    method:'post',
    data:data
  })
}

//人员跟进情况
export function userTrackingAnalysis(data) {
  return request({
    url:'/analysis/userTrackingAnalysis',
    method:'post',
    data:data
  })
}

//客户流转列表
export function customerMoveList(data) {
  return request({
    url:'/analysis/customerMoveList',
    method:'post',
    data:data
  })
}

//人员销量分析
export function userSaleNumAnalysis(data) {
  return request({
    url:'/analysis/userSaleNumAnalysis',
    method:'post',
    data:data
  })
}

//客户销量分析
export function customerSaleNumAnalysis(data) {
  return request({
    url:'/analysis/customerSaleNumAnalysis',
    method:'post',
    data:data
  })
}

//产品销量分析
export function goodsSaleNumAnalysis(data) {
  return request({
    url:'/analysis/goodsSaleNumAnalysis',
    method:'post',
    data:data
  })
}

//询盘报价成交情况汇总
export function inquiryAnalysis(data) {
  return request({
    url:'/analysis/inquiryAnalysis',
    method:'post',
    data:data
  })
}

//人员询盘成交情况分析
export function userInquiryAnalysis(data) {
  return request({
    url:'/analysis/userInquiryAnalysis',
    method:'post',
    data:data
  })
}

//销量目标导入
export function brandSaleTargetImport(data) {
  return request({
    url:'/analysis/brandSaleTargetImport',
    method:'post',
    data:data
  })
}

//销售情况统计
export function psaleOrderSummary(data) {
  return request({
    url:'/pAnalysis/saleOrderSummary',
    method:'post',
    data:data
  })
}

//采购目标完成情况汇总
export function psaleTargetSummary(data) {
  return request({
    url:'/pAnalysis/saleTargetSummary',
    method:'post',
    data:data
  })
}

//采购人员销量目标完成情况分析
export function puserOrderNumAnalysis(data) {
  return request({
    url:'/pAnalysis/userOrderNumAnalysis',
    method:'post',
    data:data
  })
}

//采购人员出库毛利情况分析
export function puserProfitAnalysis(data) {
  return request({
    url:'/pAnalysis/userProfitAnalysis',
    method:'post',
    data:data
  })
}


//采购人员出库吨毛利情况分析
export function puserPerProfitAnalysis(data) {
  return request({
    url:'/pAnalysis/userPerProfitAnalysis',
    method:'post',
    data:data
  })
}

//采购品类销量目标完成情况分析
export function pclassOrderNumAnalysis(data) {
  return request({
    url:'/pAnalysis/classOrderNumAnalysis',
    method:'post',
    data:data
  })
}
//采购品类出库毛利情况分析
export function pclassProfitAnalysis(data) {
  return request({
    url:'/pAnalysis/classProfitAnalysis',
    method:'post',
    data:data
  })
}
//采购品类出库吨毛利情况分析
export function pclassPerProfitAnalysis(data) {
  return request({
    url:'/pAnalysis/classPerProfitAnalysis',
    method:'post',
    data:data
  })
}

//供应商贡献情况分析
export function topSupplierList(data) {
  return request({
    url:'/pAnalysis/topSupplierList',
    method:'post',
    data:data
  })
}

//根据供应商分类统计数量
export function numSummaryBySupplierType(data) {
  return request({
    url:'/pAnalysis/numSummaryBySupplierType',
    method:'post',
    data:data
  })
}

//根据供应商等级统计数量
export function numSummaryBySupplierLevel(data) {
  return request({
    url:'/pAnalysis/numSummaryBySupplierLevel',
    method:'post',
    data:data
  })
}

//供应商分类出库统计分析
export function shipAnalysisBySupplierType(data) {
  return request({
    url:'/pAnalysis/shipAnalysisBySupplierType',
    method:'post',
    data:data
  })
}

//供应商等级出库统计分析
export function shipAnalysisBySupplierLevel(data) {
  return request({
    url:'/pAnalysis/shipAnalysisBySupplierLevel',
    method:'post',
    data:data
  })
}

//人员供应商跟进情况
export function puserTrackingAnalysis(data) {
  return request({
    url:'/pAnalysis/userTrackingAnalysis',
    method:'post',
    data:data
  })
}

//询盘报价成交情况汇总
export function pinquiryAnalysis(data) {
  return request({
    url:'/pAnalysis/inquiryAnalysis',
    method:'post',
    data:data
  })
}

//人员询盘成交情况分析
export function puserInquiryAnalysis(data) {
  return request({
    url:'/pAnalysis/userInquiryAnalysis',
    method:'post',
    data:data
  })
}

//询盘报价时长统计
export function inquiryPriceAnalysis(data) {
  return request({
    url:'/pAnalysis/inquiryPriceAnalysis',
    method:'post',
    data:data
  })
}

//采购询盘报价时长分析
export function userInquiryPriceAnalysis(data) {
  return request({
    url:'/pAnalysis/userInquiryPriceAnalysis',
    method:'post',
    data:data
  })
}

//库存情况分析
export function stockListAnalysis(data) {
  return request({
    url:'/pAnalysis/stockListAnalysis',
    method:'post',
    data:data
  })
}

//采购人员销量分析
export function puserSaleNumAnalysis(data) {
  return request({
    url:'/pAnalysis/userSaleNumAnalysis',
    method:'post',
    data:data
  })
}

//产品销量分析
export function pgoodsSaleNumAnalysis(data) {
  return request({
    url:'/pAnalysis/goodsSaleNumAnalysis',
    method:'post',
    data:data
  })
}

//供应商销量分析
export function supplierSaleNumAnalysis(data) {
  return request({
    url:'/pAnalysis/supplierSaleNumAnalysis',
    method:'post',
    data:data
  })
}

//客户分类
export function customerNewTypeSummary(data) {
  return request({
    url:'/analysis/customerNewTypeSummary',
    method:'post',
    data:data
  })
}


//桌面快捷操作按钮
export function quickLinkList(data) {
  return request({
    url:'/desk/quickLinkList',
    method:'post',
    data:data
  })
}

//桌面我的数据
export function myData(data) {
  return request({
    url:'/desk/myData',
    method:'post',
    data:data
  })
}

//塑盟学院
export function topArticleList(data) {
  return request({
    url:'/desk/topArticleList',
    method:'post',
    data:data
  })
}
